package com.zslc.foreignoption.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@Component
@ConfigurationProperties(prefix = "crawler.param")
public class TweetParamProperties {
    /**
     * 最大条目
     */
    private Integer maxItems;
    /**
     * 排序，默认Latest
     */
    private String sort;
    /**
     * 时间段,1h；20d
     */
    private String within_time;
    /**
     * 查询url
     */
    private String startUrl;

}
